package com.night.icm.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ClassBaseDTO
 * 班级基础信息
 *
 * @author Liao ZhiYong
 * @date 2020/1/5
 */
@ApiModel(description = "班级基础信息")
@Data
@EqualsAndHashCode(callSuper = false)
public class ClassBaseDTO {

    @ApiModelProperty(position = 110, value = "班级id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "班级编号，如计算机166的班级编号为166", required = true)
    private String code;

    @ApiModelProperty(position = 130, value = "班级名称，如计算机", required = true)
    private String name;

    @ApiModelProperty(position = 140, value = "班级简称")
    private String shortName;

    @ApiModelProperty(position = 150, value = "班级所属年级，比如2016年入学，则为2016级", required = true)
    private String grade;

    @ApiModelProperty(position = 150, value = "显示顺序", required = true)
    private Integer showOrder;
}